package third;

public class T2_3 {
	public static void main(String args[]) {	      
	int i,j;	      
	for(j=2;j<=200;j++) { 	          
	for(i=2;i<=j/2;i++) {	             
	if(j%i==0) 	               
	break;	          
	}	          
	if(i>j/2) {	             
	System.out.print(" "+j);	          
	}	      
	}	   
	}
	}
